
package cz.czu.pef.DataModelling.service.impl;

import java.util.logging.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cz.czu.pef.DataModelling.dao.*;
import cz.czu.pef.DataModelling.domainObjects.*;
import cz.czu.pef.DataModelling.entityObjects.*;
import cz.czu.pef.DataModelling.service.api.*;

/**
 * Implements all operations for given Entity.
 * This implementation should be used exclusively for accessing any DAO operations.
 * 
 * @author Rostislav Stříbrný
 *
 */
@Service(value = "externalWorkerService")
public class ExternalWorkerServiceImpl extends AbstractWrapperServiceImpl<ExternalWorker, ExternalWorkerEntityImpl> implements ExternalWorkerService
{

  Logger logger = Logger.getLogger(ExternalWorkerServiceImpl.class.getName());

  @Autowired
  ExternalWorkerDao externalWorkerDao;

  @Override
  public Dao<ExternalWorkerEntityImpl> getDao()
  {
    return externalWorkerDao;
  }
}
